entry: Add css node documentation
authorMatthias Clasen <mclasen@redhat.com>
Fri, 23 Oct 2015 20:22:25 +0000 (16:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 23 Oct 2015 20:22:25 +0000 (16:22 -0400)
List the css names and the typical style classes that can be
expected to occur with entries.

gtk/gtkentry.c

index d56f476c2c40dbd82de773492b0105b74971df7f..75e0131ec14c3a6347e331035c7574eac1f3dffe 100644 (file)
  * able to use a mouse or other pointing device. It is therefore recommended
  * that any such functionality should also be available by other means, e.g.
  * via the context menu of the entry.
+ *
+ * # CSS nodes
+ *
+ * GtkEntry has a main node with the name entry. Depending on the properties
+ * of the entry, the style classes .read-only and .flat may appear. The style
+ * classes .warning and .error may also be used with entries.
+ *
+ * When the entry shows icons, it adds subnodes with the name image and the
+ * style class .left or .right, depending on where the icon appears.
+ *
+ * When the entry shows progress, it adds a subnode with the name progressbar.
+ * The node has the style class .pulse when the shown progress is pulsing.
  */